home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Always 25
/
Always_25_1995-09_Elysium_Sunga_pl_Side_A.d64
/
gaypack xxv .run
/
ARCAID2
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
2KB
|
62 lines
0 rem:arcaid2: e.g. 04-nov-86
10 ifgl=190then150
20 ifgl=360then350
30 rem: extract from arc
40 print"[147] [197]xtract from an [193][210][195] file [146]"
50 print" [201][206][211][197][210][212] [196][201][211][203] with [193][210][195] file."
60 print" [208]ress [158]$[146] for a directory of [196]rive 8,0."
70 print" [208]ress [158][211][208][193][195][197] [194][193][210][146] to return to [205]ain [205]enu."
80 print" [193]ny other key will continue.":poke198,0
90 geta$:ifa$=""then90
91 ifa$<>" "then110
95 print"[147] [201][206][211][197][210][212] [196][201][211][203] with [193][210][195] [193][201][196] in drive 8,0"
97 print" and press any key."
98 geta$:ifa$=""then98
99 print"[147]";spc(15);"[204]oading..."
100 print"[144]load"chr$(34)"arc aid ?.?"chr$(34)",8";:goto590
110 ifa$<>"$"then180
120 print"[147] [211][200][201][198][212] pauses, [210][213][206]/[211][212][207][208] aborts"
130 print"dir":print"":gl=190
140 goto590
150 print" [208]ress any key to return to menu.[146]":poke198,0:gl=0
160 geta$:ifa$=""then160
170 print"[147]";:run
180 input"[193][210][195] filename";f$:iff$=""thenrun
182 ifright$(f$,4)<>".arc"thenf$=f$+".arc"
210 print"[156][207]n what drive can this":input"file be found 8,0[157][157][157][157][157]";dv,dr
220 gosub380:sr$=dr$:ifsr$=""then210
230 print"[159][207]n what drive should this":input"file be de-[193][210][195]ed 8,0[157][157][157][157][157]";dv,dr
240 gosub490:ds$=dr$:ifds$=""then230
260 l=len(f$):nf$=""
280 fori=1tol
290 ifmid$(f$,i,1)=" "thennf$=nf$+"?":goto310
300 nf$=nf$+mid$(f$,i,1)
310 next
330 print"[147]arc/x"ds$+" "+sr$+nf$:print"":gl=360
340 goto590
350 poke198,0:print" [208]ress any key to return to menu.[146]":gl=0
360 geta$:ifa$=""then360
370 run
380 dr$=""
390 ifdv=8anddr=0thendr$="a:"
400 ifdv=8anddr=1thendr$="b:"
410 ifdv=9anddr=0thendr$="c:"
420 ifdv=9anddr=1thendr$="d:"
430 ifdv=10anddr=0thendr$="e:"
440 ifdv=10anddr=1thendr$="f:"
450 ifdv=11anddr=0thendr$="g:"
460 ifdv=11anddr=1thendr$="h:"
470 return
480 end
490 dr$=""
500 ifdv=8anddr=0thendr$="a"
510 ifdv=8anddr=1thendr$="b"
520 ifdv=9anddr=0thendr$="c"
530 ifdv=9anddr=1thendr$="d"
540 ifdv=10anddr=0thendr$="e"
550 ifdv=10anddr=1thendr$="f"
560 ifdv=11anddr=0thendr$="g"
570 ifdv=11anddr=1thendr$="h"
580 return
590 poke631,13:poke632,71:poke633,207:poke635,13:poke636,13:poke198,5:goto480